package com.lwk.service;

import java.io.FileInputStream;
import java.util.List;

import javax.servlet.ServletOutputStream;

import org.hibernate.criterion.DetachedCriteria;

import com.lwk.domain.Student;
import com.lwk.utils.PageBean;

public interface StudentService {
	//分页业务方法
	PageBean getPageBean(DetachedCriteria dc, Integer page, Integer rows);

	Student getById(Long sid);

	void delete(Student student1);

	void saveOrUpdate(Student student);

	void export(ServletOutputStream outputStream, DetachedCriteria dc);

	void doImport(FileInputStream fis);

	/*void resetting();*/

    List<Student> login(DetachedCriteria dc);

	Integer getByStudentNumber(DetachedCriteria dc, Integer number);
}
